<!-- INCLUDE overall_header.html -->

<!-- IF S_ADDON_ADD_DEL -->
<!-- IF S_ORPHAN_ADDONS -->
<form id="ua_orphan_addon" name="ua_orphan_addon" method="post" enctype="multipart/form-data" action="{UA_FORMACTION}">
<input type="hidden" name="{A_OPERATION}" value="{A_ORPHAN}" />
<table class="ua_table" style="float:right;width:250px;">
	<thead>
		<tr>
			<th class="table_header"><div style="float:right;">
			<img id="orphan_body_img" src="{TEMPLATE_PATH}/images/plus.png" style="cursor:pointer;" alt="" onclick="toggleShow('orphan_body','orphan_body_img','{TEMPLATE_PATH}/images/minus.png','{TEMPLATE_PATH}/images/plus.png')" />
			</div>{L_UNSCANNED}</th>
		</tr>
	</thead>
	<tbody id="orphan_body" style="display:none;">
	<!-- BEGIN orphan_addons_row -->
		<tr>
			<td class="data{orphan_addons_row.ROW_CLASS}"><input type="checkbox" id="{orphan_addons_row.ID}" name="{orphan_addons_row.ID}" />
					<label for="{orphan_addons_row.ID}">{orphan_addons_row.NAME}</label></td>
		</tr>
	<!-- END orphan_addons_row -->
		<tr>
			<th><input class="submit" type="submit" value="{L_ADD}" /></th>
		</tr>
	</tbody>
</table>
</form>
<!-- ENDIF -->
<!-- ENDIF -->

<table class="ua_table rowstyle-data2 no-arrow paginate-15" align="center">
	<thead>
		<tr>
			<th class="table_header" colspan="6">{L_ADDON_MANAGE}</th>
		</tr>
<!-- IF S_ADDONS -->
		<tr>
			<th class="sortable">{L_NAME}</th>
			<th class="sortable">{L_TOC}</th>
			<th class="sortable">{L_VERSION}</th>
			<th class="sortable">{L_UPLOADED}</th>
			<th>{L_MANAGE}</th>
		</tr>
	</thead>
	<!-- IF S_ADDON_ADD_DEL -->
	<tfoot>
		<tr>
			<th colspan="6">{L_DELETE_ALL}
				<form name="ua_delete_all_addons" style="display:inline;" method="post" enctype="multipart/form-data" action="{UA_FORMACTION}" onsubmit="return confirm('{L_CONFIRM_DELETE}');">
					<input type="hidden" name="{A_OPERATION}" value="{A_DELETEALL}" />
					<input class="icon" src="{TEMPLATE_PATH}/images/delete.png" type="image" value="{L_DELETE_ALL}" alt="" onmouseover="return overlib('{L_DELETE_ALL}');" onmouseout="return nd();" />
				</form></th>
		</tr>
	</tfoot>
	<!-- ENDIF -->
	<tbody>
	<!-- BEGIN addons_row -->
		<tr>
			<td<!-- IF addons_row.NOTE != '' --> onmouseover="return overlib('{addons_row.NOTE}',CAPTION,'{L_NOTES}',WRAP);" onmouseout="return nd();"<!-- ENDIF -->><a href="{UA_FORMACTION}&amp;{A_DETAIL}={addons_row.ID}" class="addon_name">{addons_row.ADDONNAME}</a></td>
			<td>{addons_row.TOC}</td>
			<td>{addons_row.VERSION}</td>
			<td>{addons_row.TIME}</td>
			<td>
				<a href="{addons_row.DOWNLOAD}"><img src="{TEMPLATE_PATH}/images/download_mini.png" class="icon" alt="" onmouseover="return overlib('{L_DOWNLOAD}-[{addons_row.FILESIZE}]');" onmouseout="return nd();" /></a>
				<a href="{UA_FORMACTION}&amp;{A_DETAIL}={addons_row.ID}"><img src="{TEMPLATE_PATH}/images/details_mini.png" class="icon" alt="" onmouseover="return overlib('{L_ADDON_DETAILS}');" onmouseout="return nd();" /></a>
				<!-- IF addons_row.HOMEPAGE != '' --><a href="{addons_row.HOMEPAGE}" target="_blank"><img src="{TEMPLATE_PATH}/images/home_mini.png" class="icon" alt="" onmouseover="return overlib('{L_HOMEPAGE}');" onmouseout="return nd();" /></a><!-- ELSE --><img src="{TEMPLATE_PATH}/images/home_off_mini.png" class="icon" alt="" /><!-- ENDIF -->

	<!-- IF addons_row.ENABLED -->
		<!-- IF S_ADDON_ADD_DEL -->
				<form name="ua_disableaddon_{addons_row.ID}" style="display:inline;" method="post" enctype="multipart/form-data" action="{UA_FORMACTION}">
					<input type="hidden" name="{A_OPERATION}" value="{A_DISABLE}" />
					<input type="hidden" name="{A_ID}" value="{addons_row.ID}" />
					<input class="icon" src="{TEMPLATE_PATH}/images/enabled_mini.png" type="image" value="{L_ENABLED}" alt="" onmouseover="return overlib('{L_ENABLED}');" onmouseout="return nd();" />
				</form>
		<!-- ELSE -->
				<img src="{TEMPLATE_PATH}/images/enabled_mini.png" class="icon" alt="" onmouseover="return overlib('{L_ENABLED}');" onmouseout="return nd();" />
		<!-- ENDIF -->

	<!-- ELSE -->

		<!-- IF S_ADDON_ADD_DEL -->
				<form name="ua_enableaddon_{addons_row.ID}" style="display:inline;" method="post" enctype="multipart/form-data" action="{UA_FORMACTION}">
					<input type="hidden" name="{A_OPERATION}" value="{A_ENABLE}" />
					<input type="hidden" name="{A_ID}" value="{addons_row.ID}" />
					<input class="icon" src="{TEMPLATE_PATH}/images/disabled_mini.png" type="image" value="{L_DISABLED}" alt="" onmouseover="return overlib('{L_DISABLED}');" onmouseout="return nd();" />
				</form>
		<!-- ELSE -->
				<img src="{TEMPLATE_PATH}/images/disabled_mini.png" class="icon" alt="" onmouseover="return overlib('{L_DISABLED}');" onmouseout="return nd();" />
		<!-- ENDIF -->
	<!-- ENDIF -->

	<!-- IF addons_row.REQUIRED -->
		<!-- IF S_ADDON_ADD_DEL -->
				<form name="ua_optionaladdon_{addons_row.ID}" style="display:inline;" method="post" enctype="multipart/form-data" action="{UA_FORMACTION}">
					<input type="hidden" name="{A_OPERATION}" value="{A_OPT}" />
					<input type="hidden" name="{A_ID}" value="{addons_row.ID}" />
					<input class="icon" src="{TEMPLATE_PATH}/images/required_mini.png" type="image" value="{L_REQUIRED}" alt="" onmouseover="return overlib('{L_REQUIRED}');" onmouseout="return nd();" />
				</form>
		<!-- ELSE -->
				<img src="{TEMPLATE_PATH}/images/required_mini.png" class="icon" alt="" onmouseover="return overlib('{L_REQUIRED}');" onmouseout="return nd();" />
		<!-- ENDIF -->

	<!-- ELSE -->

		<!-- IF S_ADDON_ADD_DEL -->
				<form name="ua_requireaddon_{addons_row.ID}" style="display:inline;" method="post" enctype="multipart/form-data" action="{UA_FORMACTION}">
					<input type="hidden" name="{A_OPERATION}" value="{A_REQ}" />
					<input type="hidden" name="{A_ID}" value="{addons_row.ID}" />
					<input class="icon" src="{TEMPLATE_PATH}/images/optional_mini.png" type="image" value="{L_OPTIONAL}" alt="" onmouseover="return overlib('{L_OPTIONAL}');" onmouseout="return nd();" />
				</form>
		<!-- ELSE -->
				<img src="{TEMPLATE_PATH}/images/optional_mini.png" class="icon" alt="" onmouseover="return overlib('{L_OPTIONAL}');" onmouseout="return nd();" />
		<!-- ENDIF -->
	<!-- ENDIF -->

				<!-- IF S_ADDON_ADD_DEL --><form name="ua_deleteaddon_{addons_row.ID}" style="display:inline;" method="post" enctype="multipart/form-data" action="{UA_FORMACTION}">
					<input type="hidden" name="{A_OPERATION}" value="{A_DELETE}" />
					<input type="hidden" name="{A_ID}" value="{addons_row.ID}" />
					<input class="icon" src="{TEMPLATE_PATH}/images/delete_mini.png" type="image" value="{L_DELETE}" alt="" onmouseover="return overlib('{L_DELETE}');" onmouseout="return nd();" />
				</form>
				<!-- ENDIF --></td>
		</tr>
	<!-- END addons_row -->
	</tbody>
<!-- ELSE -->
		<tr>
			<th>{L_NO_ADDONS}</th>
		</tr>
	</thead>
<!-- ENDIF -->
</table>

<br />
<br />

<!-- IF S_ADDON_ADD_DEL -->
<form id="ua_updateaddon" name="ua_updateaddon" method="post" enctype="multipart/form-data" action="{UA_FORMACTION}">
	<table class="ua_table" align="center">
		<tr>
			<th class="table_header" colspan="2">{L_ADD_UPDATE}</th>
		</tr>
		<tr>
			<td><img src="{TEMPLATE_PATH}/images/help_mini.png" alt="" onmouseover="return overlib('{L_REQUIRED_TIP}',CAPTION,'{L_REQUIRED}');" onmouseout="return nd();" />
				{L_REQUIRED}:</td>
			<td><input type="checkbox" id="required" name="required" value="1" checked="checked" /><label for="required">&nbsp;</label></td>
		</tr>
		<tr>
			<td class="data2"><img src="{TEMPLATE_PATH}/images/help_mini.png" alt="" onmouseover="return overlib('{L_FULLPATH_TIP}',CAPTION,'{L_FULLPATH}');" onmouseout="return nd();" />
				{L_FULLPATH}:</td>
			<td class="data2">
				<input type="radio" id="fullpath_addon_auto" name="fullpath_addon" value="2" checked="checked" /><label for="fullpath_addon_auto">{L_AUTOMATIC}</label>
				<input type="radio" id="fullpath_addon_no" name="fullpath_addon" value="0" /><label for="fullpath_addon_no">{L_NO}</label>
				<input type="radio" id="fullpath_addon_yes" name="fullpath_addon" value="1" /><label for="fullpath_addon_yes">{L_YES}</label></td>
		</tr>
		<tr>
			<td><img src="{TEMPLATE_PATH}/images/help_mini.png" alt="" onmouseover="return overlib('{L_SELECTFILE_TIP}',CAPTION,'{L_SELECT_FILE}');" onmouseout="return nd();" />
				{L_SELECT_FILE}:</td>
			<td><input class="file" type="file" name="file" /></td>
		</tr>
		<tr>
			<th colspan="2" align="center"><input class="submit" type="submit" value="{L_ADD_UPDATE}" /></th>
		</tr>
	</table>
	<input type="hidden" name="{A_OPERATION}" value="{A_PROCESS}" />
</form>
<!-- ENDIF -->

<br />

<table class="ua_table" align="center" width="40%">
	<tr>
		<th colspan="2" class="table_header">{L_ADD_ADDONDEL}</th>
	</tr>
	<tr>
		<th>{L_ADDON}</th>
		<!-- IF S_ADDON_ADD_DEL -->
		<th width="10%">{L_REMOVE}</th>
		<!-- ENDIF -->
	</tr>
	<!-- IF S_ADDON_DEL -->
	<!-- BEGIN addondel_list -->
	<tr>
		<td class="data{addondel_list.ROW_CLASS}">{addondel_list.NAME}</td>
		<!-- IF S_ADDON_ADD_DEL -->
		<td class="data{addondel_list.ROW_CLASS}">
			<form name="ua_remove_addondel_{addondel_list.ID}" style="display:inline;" method="post" enctype="multipart/form-data" action="{UA_FORMACTION}">
				<input type="hidden" value="{A_ADDONDEL_REM}" name="{A_OPERATION}" />
				<input type="hidden" value="{addondel_list.ID}" name="{A_ID}" />
				<input class="icon" src="{TEMPLATE_PATH}/images/delete_mini.png" type="image" value="{L_REMOVE}" alt="" onmouseover="return overlib('{L_REMOVE}');" onmouseout="return nd();" />
			</form>

		</td>
		<!-- ENDIF -->
	</tr>
	<!-- END addondel_list -->
	<!-- ELSE -->
	<tr>
		<td colspan="2" align="center">{L_NO_DEL_ADDONS}</td>
	</tr>
	<!-- ENDIF -->
	<tr>
	<!-- IF S_ADDON_ADD_DEL -->
		<th colspan="2">{L_ADD_ADDONDEL}</th>
	</tr>
	<tr>
		<td colspan="2" align="center"><form name="ua_add_addondel" method="post" enctype="multipart/form-data" action="{UA_FORMACTION}">
				<input type="hidden" value="{A_ADDONDEL_ADD}" name="{A_OPERATION}" />
				<input class="input_m" type="text" name="{A_ADDONDEL_NAME}" />
				<input class="icon" src="{TEMPLATE_PATH}/images/plus_big.png" type="image" value="{L_ADD}" alt="" onmouseover="return overlib('{L_ADD}');" onmouseout="return nd();" />
			</form></td>
	</tr>
	<!-- ENDIF -->
</table>


<!-- INCLUDE overall_footer.html -->